package com.codingman.springdemo2;

public class Employee {
	
	private String name;
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	private Address address;

	public Employee() {
		
	}
	
	public Employee(String name, Address address) {
		this.name = name;
		this.address = address;
	}

	public void show(){  
	    System.out.println(name + " " + address);
	} 
}
